package com.zzw.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户实体类
 *
 * @Author: zhangzhiwei
 * @Date: 2022/4/6 23:13
 */
@Data
@TableName("email")
public class User {

    public User() {
    }

    public User(String email, String password) {
        this.email = email;
        this.password = password;
    }

    /** 用户id */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户邮箱 */
    private String email;

    /** 用户密码 */
    private String password;

}
